//
// Created by wkm on 2024-04-14.
//

#include "x2time_driver.h"

void x2time_driver::prc_x2time_driver() {
    d_compute_times.write(3);
    d_input_data.write(0x1F);
    d_reset.write(true);
    wait();
    d_reset.write(false);
    wait();
    wait();
    wait();
    d_start.write(true);
    wait();
    wait();
    wait();
    wait();
    wait();
    wait();
    wait();
    d_compute_times.write(4);
    d_input_data.write(0x1F);
    d_reset.write(true);
    wait();
    d_reset.write(false);
    wait();
    wait();
    wait();
    d_start.write(true);
    wait();
    wait();
    wait();
    wait();
    wait();
    wait();
    wait();
    wait();

    sc_stop();
}